package com.flame.workflow.re.mapper;

import java.util.List;

import com.flame.workflow.re.controller.vo.FormVo;
import com.flame.workflow.re.entity.Form;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * flame_workflow_re_form 流程表单定义表
 *
 * @author 吴欣童
 * @since 2023-05-04 19:52:48
 */
@Mapper
public interface FormMapper {

    List<Form> page(FormVo formVo);

    void insert(Form form);

    void updateById(Form form);

    void deleteById(@Param("modelId") Long modelId, @Param("modelVersion") Integer modelVersion);

    Form findById(@Param("modelId") Long modelId, @Param("modelVersion") Integer modelVersion);
}